home *** CD-ROM | disk | FTP | other *** search
- {$M 16384,0,16384}
- uses dos;
- var
- sr: searchrec;
- s: string;
- f: text;
- outfile: text;
- begin;
- assign(outfile,'FILTER.BAT');
- rewrite(outfile);
- findfirst('*.*',0,sr);
- while doserror=0 do begin;
- writeln(sr.name);
- writeln(outfile,'TYPE '+sr.name+' | FILT.EXE > '+sr.name);
- findnext(sr);
- end;
- close(outfile);
- end.